﻿namespace Data.Objects.Player
{
    public class PlayerCharacter:IPlayerCharacter
    {
        private static int players = 0;

        public PlayerCharacter()
        {
            Id = players;
            Active = true;
            InitiativeDie = 20;

            players++;
        }

        public int Id { get; private set; }
        public int Initiative { get; set; }
        public int MaxHp { get; set; }
        public int CurrentHp { get; set; }
        public string ClassIcon { get; set; }
        public int BaseInitiative { get; set; }
        public string Name { get; set; }
        public int InitiativeDie { get; set; }
        public bool Active { get; set; }

        public virtual void RollInitiative()
        {
            return;
        }

        public virtual void EndTurn()
        {
            Active = false;
        }
    }
}
